//logs.js
const util = require('../../../utils/util.js')

Page({
  data: {
    primarySize: 'default',
    loading: false,
    plain: false,
    disabled: false,
  },
  gotomake: function () {
    wx.navigateTo({
      url: '../../mine/mineCard/mineCardMake/mineCardMake' + '?phone=18939571&password=1992'
    })
  }, 
  onLoad: function () {
    this.setData({
      logs: (wx.getStorageSync('logs') || []).map(log => {
        return util.formatTime(new Date(log))
      })
    }),
      wx.setNavigationBarColor({
        frontColor: '#000000',
        backgroundColor: '#fff',
        animation: {
          duration: 400,
          timingFunc: 'easeIn'
        },

      })
  },
  onReady: function () {
    //获得dialog组件
    this.dialog = this.selectComponent("#dialog");
  }
  
})




